-
Notifications
You must be signed in to change notification settings - Fork 889
Add fix for no-unused-variable, only for imports #1568
Conversation
Thanks for your interest in palantir/tslint, @alexeagle! Before we can accept your pull request, you need to sign our contributor license agreement - just visit https://cla.palantir.com/ and follow the instructions. Once you sign, I'll automatically update this pull request. |
223884f
to
97368cf
Compare
cc @ScottSWu too - we talked about this one a couple times |
37d5b75
to
78f2bba
Compare
480a539
to
91e591a
Compare
cc @paulvanbrenk I think this handles more cases than https://github.com/Microsoft/TypeScript/blob/pvb/discoverCodeActions/src/services/codefixes/unusedIdentifierFixes.ts |
This was done automatically by tslint, which can now fix issues it finds. The fixer is still pending in PR palantir/tslint#1568 Also I have a local bugfix for palantir/tslint#1569 which causes too many imports to be deleted.
This was done automatically by tslint, which can now fix issues it finds. The fixer is still pending in PR palantir/tslint#1568 Also I have a local bugfix for palantir/tslint#1569 which causes too many imports to be deleted.
This was done automatically by tslint, which can now fix issues it finds. The fixer is still pending in PR palantir/tslint#1568 Also I have a local bugfix for palantir/tslint#1569 which causes too many imports to be deleted.
This was done automatically by tslint, which can now fix issues it finds. The fixer is still pending in PR palantir/tslint#1568 Also I have a local bugfix for palantir/tslint#1569 which causes too many imports to be deleted.
This was done automatically by tslint, which can now fix issues it finds. The fixer is still pending in PR palantir/tslint#1568 Also I have a local bugfix for palantir/tslint#1569 which causes too many imports to be deleted.
This was done automatically by tslint, which can now fix issues it finds. The fixer is still pending in PR palantir/tslint#1568 Also I have a local bugfix for palantir/tslint#1569 which causes too many imports to be deleted.
91e591a
to
ddbdfeb
Compare
Ping! |
Note, my fix for #1569 is based on this one |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks for the test coverage @alexeagle.
cc @chuckjaz